翻訳と辞書
Words near each other
・ Utopia (2015 film)
・ Utopia (360 album)
・ Utopia (Alanis Morissette song)
・ Utopia (American band)
・ Utopia (Australian TV series)
・ Utility Hitter
・ Utility in Canadian patent law
・ Utility infielder
・ Utility knife
・ Utility location
・ Utility maximization problem
・ Utility meter
・ Utility model
・ Utility monster
・ Utility Muffin Research Kitchen
Utility pattern
・ Utility pigeons
・ Utility player
・ Utility pole
・ Utility Radio
・ Utility ratemaking
・ Utility room
・ Utility software
・ Utility sound technician
・ Utility station
・ Utility Stores Corporation
・ Utility submeter
・ Utility system
・ Utility trailer
・ Utility Trailer Manufacturing Company


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Utility pattern : ウィキペディア英語版
Utility pattern

The Utility pattern is a software pattern that is used for utility classes that do not require instantiation and only have static methods. The stateless class is designated as static so that no instance can be created. Good candidates for utility classes are convenience methods that can be grouped together functionally.
Furthermore, methods in Utility classes are usually deterministic. As the Utility class is stateless, all parameters in each method must pass all necessary information to the method.
==Example in C#==

public static class LogUtil


public static void LogInfo(String message)

}

// A simple example showing how the utility methods are used
in "My Program"

}
}


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Utility pattern」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.